﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo05201
{
    class Animalia
    {
        private int leg;//腿
        public int Leg { get; set; }//腿属性

        
        public void Walk() //走路
        {
            Console.WriteLine("我会走路");
        }
        public void Eat() //吃饭
        {
            Console.WriteLine("我会吃饭");
        }
        public void Speet() //睡觉
        {
            Console.WriteLine("我会睡觉");
        }
        public virtual void Car() //叫
        {
            Console.Write("我能");
        }
    }
}
